package com.ymdx.service;

import com.ymdx.entity.Verification;

/**
 * Created by yangliwei on 2017/8/13.
 */
public interface VerificationService extends BaseService<Verification,Long>{
    /**
     * 获取验证码
     * @param Mobile
     * @param code
     * @return
     */
    Verification getByMobileCode(String Mobile,String code);

    /**
     * 通过手机获取验证码
     * @param mobile
     * @return
     */
    Verification getByMobile(String mobile);


}
